package cn.iocoder.yudao.module.ad.framework.core.properties;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AdChannelProperties {

    @NotNull(message = "账户ID不能为空")
    private Long id;

    @NotEmpty(message = "渠道Code不能为空")
    private String code;

    @NotNull(message = "授权方式不能为空")
    private Integer authType;

    @NotEmpty(message = "广告账户ID不能为空")
    private String accountId;

    private String apiKey;

    private String apiSecret;
}
